//
//  SqliteManager+HandleFarmer.h
//  HandleFarmer
//
//  Created by Cheney Lau on 7/31/14.
//  Copyright (c) 2014 Handou. All rights reserved.
//

#import "SqliteManager.h"
@class RepairItem;
@class HDComboData;
@class MemberPackage;

@interface SqliteManager (Base)

#pragma mark 获取周
- (NSString *)getWeek:(int)wk;

#pragma mark 获取一行某个字段的数据float型或string类型：一个参数
- (float)floatResultWithSql:(NSString *)sql andOneParam:(NSString *)param andFieldName:(NSString *)fieldName;

- (NSString *)stringResultWithSql:(NSString *)sql andOneParam:(NSString *)param andFieldName:(NSString *)fieldName;

#pragma mark 获取一行某个字段的数据float型或string类型：两个参数
- (float)floatResultWithSql:(NSString *)sql andOneParam:(NSString *)paramOne andTwoParam:(NSString *)paramTwo andFieldName:(NSString *)fieldName;

- (NSString *)stringResultWithSql:(NSString *)sql andOneParam:(NSString *)paramOne andTwoParam:(NSString *)paramTwo andFieldName:(NSString *)fieldName;


@end
